/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clasemath;

/**
 *
 * @author Luis
 */
public class round {
public static void main(String[] args) {

    double a=4.99878;
    double b=98.3658;
        System.out.println("Aproximacion de un numero decimal;"+a+"="+Math.round(a));
         System.out.println("Aproximacion de un numero decimal;"+b+"="+Math.round(b));
    }
}
